﻿using Basic.FormRemoteModel;
using WeDonekRpc.Helper.Validate;

namespace Basic.FormGatewaryModular.Model.Form
{
    public class StructureGetArgs
    {
        [NumValidate("form.id.error", 1)]
        public long[] FormId
        {
            get;
            set;
        }
        public long[] TableId
        {
            get;
            set;
        }
        [EnumValidate("form.func.type.error", typeof(FormColumnFuncType))]
        public FormColumnFuncType[] FuncType { get; set; }

        [EnumValidate("form.data.type.error", typeof(PhyTableDataType))]
        public PhyTableDataType[] DataType { get; set; }

        /// <summary>
        /// 显示方式（物理表单生效）
        /// </summary>
        [EnumValidate("form.phy.show.mode.error", typeof(PhyColShowMode))]
        public PhyColShowMode[] ShowMode
        {
            get;
            set;
        }
        public bool? IsSystem { get; set; }
    }
}
